<?php

namespace example\abstractFactory;
require_once 'AbstractProductB.php';
//具体产品类 - 导航组件
class ConcreteProductB1 extends AbstractProductB
{
    public function render()
    {
        $nav = '<div style="margin-top: 30px;">'.implode(' ',$this->nav).'</div>';
        return htmlspecialchars_decode($nav);
    }
}
